﻿using GYCTOAManagementSystemNewApi.Model.Enum.PayrollForm;
using GYCTOAManagementSystemNewApi.Model.Tool;

namespace GYCTOAManagementSystemNewApi.Model.Entity
{
    /// <summary>
    /// 报销细则
    /// </summary>
    public class ReimRule : Operate
    {
        /// <summary>
        /// 报销Id
        /// </summary>
        public int FinanceReimbursementId { get; set; }


        #region 冗余字段方便查询

        /// <summary>
        /// 报销单号
        /// </summary>
        public string ReimNumber { get; set; }

        public int UserId { get; set; }
        /// <summary>
        /// 报销类别
        /// </summary>
        public FinanceLoanResEnum FinanceReimbursementReimType { set; get; }

        /// <summary>
        /// 报销状态
        /// </summary>
        public OrderStateEnum FinanceReimbursementStart { get; set; } = OrderStateEnum.WaitApprove;
        /// <summary>
        /// 项目Id
        /// </summary>
        public int ProjectId{ get; set; }

        /// <summary>
        ///  开帐批号
        /// </summary>
        public string SettlementNumber { get; set; }

        /// <summary>
        ///是否开帐
        /// </summary>
        public bool Settlement { get; set; }


        #endregion

        /// <summary>
        /// 金额
        /// </summary>
        public decimal ReimRuleMoney { get; set; }

        /// <summary>
        /// 报销内容
        /// </summary>
        public string ReimRuleContent { get; set; }
        /// <summary>
        /// 内容摘要
        /// </summary>
        public string Abstract { get; set; }


        /// <summary>
        /// 报销凭证
        /// </summary>
        public string ReimRuleCertificate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } 

       
    }
}
